<template>
  <div>
    <aside>
      <section v-for="item in jx" :key="item.id">
        <img :src="item.pic" alt="" /><br />
        <p class="aa">{{ item.title }}</p>
        <p class="bb">{{ item.descript }}</p>
      </section>
    </aside>
  </div>
</template>

<script>
export default {
  props: ["jx"],
};
</script>

<style lang='scss' scoped>
div {
  width: 100%;
}
aside {
  width: 375px;
  display: flex;
  overflow: auto;
  section {
    width: 100%;
    height: 242px;
    margin-right: 10px;
    img {
      width: 375px;
      height: 180px;
      border-radius: 4px;
    }
    .aa {
      font-size: 18px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .bb {
      width: 80%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #cccccc;
      font-size: 10px;
    }
  }
}
</style>